package com.lq.ecoldchain.ui.main.orderlist.mineintroduction

import com.lq.ecoldchain.base.CommonLoadingViewModel
import org.kodein.di.Kodein
import org.kodein.di.android.support.AndroidLifecycleScope
import org.kodein.di.generic.bind
import org.kodein.di.generic.scoped
import org.kodein.di.generic.singleton

/*
*2018/12/26 0026  15:38
*function by lq
*/
val introductionKodeinModel = Kodein.Module{

    bind<MineIntroductionDelegate>() with scoped(AndroidLifecycleScope).singleton {
        MineIntroductionDelegate(
                loadingViewModel = CommonLoadingViewModel.instance(context)
        )
    }
}